TsgLines
Unit: SGLines
The TsgLines
class is made for LineType <> solid
. It parses Lines, Polylines, Splines, Arcs, etc. and keeps coordinates for each line or dot in it.
If a line has got pattern __ . . .
then after calling TsgLines.Line(Pt1, Pt2, DottedSingPts) it will return coordinates of one line and three dots, after one line and three dots again and so on. Dot specified as two points with identical coordinates.
Syntax
TsgLines = class
Properties
Properties | Description |
---|---|
Elements | The property gets an element from the list. |
ElementsCount | The property gets the number of the special elements. |
IsUniform | The property is for internal uses only. |
PatternLength | The property determinates the length of the pattern of a dotted line. |
Scale | The property defines the scale factor of the pattern of a dotted line. |
Methods
Methods | Description |
---|---|
Add | The method adds a new element to the pattern of a dotted line. |
AddTick | The method creates and adds a new element to the pattern of a dotted line. |
Assign | The method copies properties of source entity to current entity. |
Clear | The method clears the items of the Elements list. |
Create | Creates an instance of the TsgLines class. |
Curve | The method |
Destroy | Destroys an instance of the TsgLines class. |
Initialize | The method initializes a new line as the solid line. |
IsDotted | The method specifies whether or not a pattern of the dotted line is dotted |
IsSolid | The method specifies whether or not a pattern of the dotted line is solid. |
Line | The method create a coordinates list for a dotted-line base on single line coordinates. |
Loaded | The method loads the TsgLines object using specified converter. |
Poly | The method creates a points-list for the dotted-polyline. |